<?php  
class RoleController extends AuthController{
	private $db;

	public function __init(){
		
		$this->db=K('Role');
	}

	public function index(){
		$role=$this->db->all();
		$this->assign('role',$role);
		$this->display();
	}

	public function add(){
		if (IS_POST) {
			
		}else{
			$this->display();
		}
	}
}
?>